package org.neuedu.ssmp.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.neuedu.ssmp.crm.entity.Relationship;
import com.baomidou.mybatisplus.extension.service.IService;
import org.neuedu.ssmp.crm.entity.vo.ResponseEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
public interface IRelationshipService extends IService<Relationship> {

    ResponseEntity add(Relationship relationship);

    ResponseEntity del(int id);

    ResponseEntity edit(Relationship relationship);

    IPage<Relationship> relationshipPage(int pageIndex, int pageSize, int customerId);
}
